package lb.io.apis.meta.v1;

import lb.io.apimachinery.pkg.apis.meta.v1.CodeStatus;

public enum ResourceStatus {
    OKState(CodeStatus.newBuilder().setCode(0).setState("ready").setDesc("resource status ok").build()),
    BadState(CodeStatus.newBuilder().setCode(0).setState("notReady").build());

    private CodeStatus status;

    ResourceStatus(CodeStatus status) {
        this.status = status;
    }

    public CodeStatus getStatus() {
        return status;
    }
}
